package c.x.jy.service.utils.roleHand;

 
 
import java.util.function.Supplier;

import c.x.jy.dao.entity.SysUserEntity;


@SuppressWarnings("hiding")
public class RoleHandleQuery<T> {

	
    public   T exec(SysUserEntity userInfo, Supplier	<T> flatDo, Supplier<T> agentDo, Supplier<T> businessDo){
    	
//        if(userInfo.getBusinessId().equals(Constant.SUPER_ADMIN)){
//            return flatDo.get();
//        }else if(userInfo.getBusinesstype()==BusinessEntityDto.TypeEum.platform.getValue() ){
//            return agentDo.get();
//        }else if(userInfo.getBusinesstype()==BusinessEntityDto.TypeEum.business.getValue() ){
//            return businessDo.get();
//        }
        return null;
    }

 
}
